The Dreamweaver JavaScript API > Selection functions > dom.source.setCurrentLine() |
![]() ![]() ![]() |
Availability
Dreamweaver 4.0
Description
Puts the insertion point at the beginning of the specified line. If lineNumber
is not a positive integer, does nothing and returns false
. Puts the insertion point at the beginning of the last line if lineNumber
is larger than the number of lines in the source.
Arguments
lineNumber
lineNumber
is the line at the beginning of which the insertion point is placed.
Returns
true
if successful, false
if not.
![]() ![]() ![]() |